package org.pqw.bookmodel.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.pqw.bookmodel.entity.User;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author kling
 * @since 2021-06-29
 */
@Repository
@Scope(value = "prototype")
public interface UserMapper extends BaseMapper<User> {

   void insertUsers(@Param("users") List<User> users);
}
